package com.nervenets.web.controller.handler.user.wealth;

import com.nervenets.web.annotation.NeedValidation;
import com.nervenets.web.controller.handler.common.UserPagingParams;
import com.nervenets.web.enumeration.OperateType;
import com.nervenets.web.enumeration.WealthType;
import com.nervenets.web.validation.Type;
import lombok.Data;
import lombok.EqualsAndHashCode;

@EqualsAndHashCode(callSuper = true)
@Data
public class UserWealthFlowsParams extends UserPagingParams {
    @NeedValidation(type = Type.NUMBER, description = "开始时间")
    private int startTime;
    @NeedValidation(type = Type.NUMBER, description = "结束时间")
    private int endTime;
    @NeedValidation(type = Type.EMPTY, description = "类型，不传不筛选")
    private OperateType operateType;
    @NeedValidation(type = Type.EMPTY, description = "资产类型，不传不筛选")
    private WealthType wealthType;
}
